package com.edu.service;

import com.edu.pojo.File;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FileService {
    int addFile(File file);

    List<File> showAllFile();

    int deleteFile(int id);

    List<File> showNeedFile(@Param("state") int state);
}
